/**
 *  ############################
 *  #                          #
 *  #  JavaScript Programming  #
 *  #                          #
 *  #    (C) Adam Pócs 2010    #
 *  #                          #
 *  #   royaljerry@gmail.com   #
 *  #                          #
 *  ############################
*/

// Get arguments
var cArgs =                  WScript.Arguments;
// Get current filler character
var cCurrent =                  cArgs(0);
// Get current column number
var cScalar =               cArgs(1);
 

var result = '';

if (cCurrent.indexOf("\n"))
{ 
	var list = cCurrent.split("\n");

		 //WScript.StdOut.Write( 	 list.length );
	for (var i = 0; i < list.length ;i++ )
	{		
		//WScript.StdOut.Write(list[i] );
		list[i] = " " + list[i]; 
	}
	 
	result = list.join("");
}else{
	result = " "+cCurrent;
}
   
// Print filler string
WScript.StdOut.Write(result);
